package com.happe.foodeasy.dao;

import com.happe.foodeasy.dto.CustomerDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    /**
     * This method is used to return the list of customerDto entity,
     * according to  param.
     *
     * @param param the param to limit result
     * @return the list of customerDto entity
     */
    List<CustomerDto> retrieveByParam(@Param("param") CustomerDto param);

    void saveOne(CustomerDto customerDto);
}
